TestProject Forum
Powered by leading experts in the test automation community

REST API Testing issue

Hi, is there a way to remove the question mark from the endpoint? I’m facing a 404 response because there is a redundant " ?" that testproject forces onto my endpoint.

And also, is the request body in the POST action in json or text format?

Lastly, can an authorization token be attached to the request? All of my tested endpoints are secured and requires authorization tokens to access

Hello @desmondwongjunlong.

The question mark is just a part of the action’s description.
The template is:
POST {{uri}}?{{query}}
The request body is in json format unless specified otherwise and the authorization token can be passed as a header in the request.