Subject Re: Postman vs Jquery
From Boris Borzic <.> <Boris Borzic <.>>
Date Sun, 8 Aug 2021 10:52:31 -0400
Newsgroups xb2net

Osvaldo Ramirez <ramirezosvaldo@yahoo.com> wrote in
news:sv0ndak3yhqv6zk.060820211536@BACKUP:

> I believe that jquery contentType has by default the value "application
> / x-www-form-urlencoded", that is the reason why I receive the content
> as xbform

If you are sending JSON, then the content-type should be "application/json"

--
Best regards,
Boris Borzic

http://xb2.net
http://sqlexpress.net
industrial strength Xbase++ development tools

Recent messages in this thread
 
-# Postman vs Jquery Osvaldo Ramirez 06-Aug-2021 02:21 am
.-# Re: Postman vs Jquery Osvaldo Ramirez 06-Aug-2021 03:20 pm
..-# Re: Postman vs Jquery Osvaldo Ramirez 06-Aug-2021 03:37 pm
...-# Re: Postman vs Jquery (Current message) Boris Borzic <.> 08-Aug-2021 10:52 am
....\# Re: Postman vs Jquery Osvaldo Ramirez 10-Aug-2021 12:59 pm