Getting data via POST
Posted: Wed Aug 20, 2014 6:44 pm
I can successfully retrieve data using the restful get method, but I'd like to follow the recommendation in the documentation to use POST for bulk retrieval, and I cannot get POST to work.
I am following the example in the documentation exactly (urls had to be removed in this post due to forum restriction):
And the follow result (error) is retrieved:
I have tried many different patent numbers in different combinations (epodoc vs docdb, with or without date or KC specified; sending the 'Request Body' as a header vs a param) but without success.
Any help with this matter would be greatly appreciated.
I am following the example in the documentation exactly (urls had to be removed in this post due to forum restriction):
Code: Select all
url = 'epo url as given on page 58 of the documentation'
headers = {'Accept': 'application/exchange+xml'}
data = {'Request Body': 'EP1676595'}
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fault xmlns="epo url">
<code>SERVER.EntityNotFound</code>
<message>No results found</message>
</fault>
Any help with this matter would be greatly appreciated.