Hi guys ,
Really need help ,
This API server only accepts body which is Base64 encoded and not JSON raw body.
I am tyring to do a post request .
It is working in POSTMAN but I want to do it in Rest Assured.
I am getting 415 error.
In POSTMAN it has the
BaseURI and path
Under header section
KEY VALUE
- x-access-token woeihferiuhgrehg
- Content-TYpe wepojfoerihgiore
- x-api-key oweihfoierhfoierhf
Under body
the radio button for x-www-form-urlencoded is selected
KEY VALUE
regJSON ejnvgjerngrjtng
How Do I code in Rest Assured ,
Any help will be really appriciated.
Thank you