Web Services POST method is not working?

POST is giving html invalid response with JSON and with SOAP it is throwing 500 error (thread: SOAP web service calls)

Am I missing something? Please help. Thanks.

Code:

set ApiUrl to “http://dummy.restapiexample.com/api/v1/create

Web.InvokeWebService Url: ApiUrl
Method:Web.Method.Post
Accept:‘application/json’
ContentType:‘application/json’
CustomHeaders:’’
RequestBody:’{“name”:“test”,“salary”:“123”,“age”:“23”}’
ConnectionTimeout:30
FollowRedirection:True
ClearCookies:False
FailOnErrorStatus:False
EncodeRequestBody:True
UserAgent:‘Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20100312 Firefox/3.6’
Encoding:’’
ResponseHeaders=> ResponseHeaders
Response=> WebServiceResponse
StatusCode=> StatusCode
Console.Write Message: WebServiceResponse

Response:
_---------------

Checking script…
Loading robot…
Running script…

var _ezaq = {"ad_cache_level":0,"ad_location_ids":"","ad_transform_level":0,"adx_ad_count":0,"bidder_version":3,"city":"Hyderabad","country":"IN","days_since_last_visit":-1,"display_ad_count":0,"domain_id":133674,"ds_adsize_opt_id":-1,"engaged_time_visit":0,"ezcache_level":1,"forensiq_score":-1,"form_factor_id":1,"framework_id":1,"has_bad_image":0,"has_bad_words":0,"iab_category":"","is_from_recommended_pages":false,"is_return_visitor":false,"is_sitespeed":0,"last_page_load":"","last_pageview_id":"","lt_cache_level":0,"max_ads":0,"metro_code":0,"page_ad_positions":"","page_view_count":0,"page_view_id":"525fea49-d5dd-4a9d-5a99-d7d425700b03","position_selection_id":0,"postal_code":"500025","pv_event_count":0,"response_time_orig":538,"serverid":"[13.233.96.187:28215](http://13.233.96.187:28215/)","state":"TG","sub_page_ad_positions":"","t_epoch":1582083113,"template_id":0,"time_on_site_visit":0,"url":"http://dummy.restapiexample.com/api/v1/create","user_id":0,"word_count":0,"worst_bad_word_level":0};var _ezim_d = null;var _ezat = {"domain_id":133674,"form_factor_id":1,"framework_id":1,"pageview_date":"2020-02-18","pageview_id":"525fea49-d5dd-4a9d-5a99-d7d425700b03","template_id":0,"url":"http://dummy.restapiexample.com/api/v1/create","visit_uuid":"06fd53e6-5c81-4861,...........................,...,.......

Admin note:
Do not create separate topics for similar matters, especially when you have initiated a conversation for them.
Please respect the rules.

The conversation will continue here:

Closing the topic.