Is there a way to convert the following curl into an normal http request?
curl --user <username>:<password> https://{username}.fred.sensetecnic.com/api/{custom_endpoint_name}
Into something like this (using Postman for the http requests)
GET https://{username}.fred.sensetecnic.com/api/{custom_endpoint_name}
Headers: Username: username, Password: password
Use Basic Auth
provided in postman.
Authorization
tab.Basic Auth
from Type dropdown list.Note: For this to work, server must accept json encoded credentials.