AnsweredAssumed Answered

Help with API posting XML body

Question asked by user19174 on Nov 29, 2017
Latest reply on Nov 30, 2017 by user19174



I am trying to run a settlement report on the horrible Paypal Reporting API and for the life of me I can't seem to get this right.


The following works in postman, but I can't get it to work in Filemaker.  I am either getting a no content type error or empty xml error.


I have tried escaping the " and changing ' to " and everything else I can think of.  No luck, and the documentation is not particularly helpful.


Any of the geniuses here want to take a crack at it?




curl -X POST \ \

  -H 'cache-control: no-cache' \

  -H 'content-type:text' \

  -H 'postman-token: c87c22df-3c67-a818-c92c-bec037cded28' \

  -d '<?xml version="1.0" encoding="UTF-8"?>