Call External API Writes special characters in words with accents to the destination

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nuno Lopes
    Junior Member
    • Jan 2024
    • 28

    Call External API Writes special characters in words with accents to the destination

    Send HTTP Request - Writes special characters in words with accents to the destination

    When calling the endpoint to send data to another system via API, it writes to the destination with special characters due to the content-type not having the UTF-8 option.

    Click image for larger version

Name:	image.png
Views:	81
Size:	15.5 KB
ID:	111663

    Using postman with the correct content-type (application/json: charset=utf-8) this problem does not occur.

    Click image for larger version

Name:	image.png
Views:	57
Size:	12.1 KB
ID:	111664

    ​Does anyone know how to overcome this problem, so that at the destination I can write strings with accents.

    Thanks,

    Nuno Lopes
  • lazovic
    Super Moderator
    • Jan 2022
    • 810

    #2
    Hi Nuno Lopes,

    Could you please show us what exactly is not displayed correctly so we can reproduce the problem?

    Comment

    • Nuno Lopes
      Junior Member
      • Jan 2024
      • 28

      #3
      EspoCRM Log:

      Click image for larger version

Name:	image.png
Views:	65
Size:	23.4 KB
ID:	111670

      External System:

      Click image for larger version

Name:	image.png
Views:	53
Size:	7.9 KB
ID:	111671

      Thanks,

      Nuno Lopes

      Comment

      • Nuno Lopes
        Junior Member
        • Jan 2024
        • 28

        #4
        A new version has been released, so it can allow you to pass the parameter in the header.

        Advanced Pack extension 3.5.3​

        Comment

        Working...