Use POST method with URL and Google Refine/ OpenRefine
Asked Answered
M

2

8

OpenRefine http://openrefine.org/ allows URL generation using GREL as tokens. I want to connect to an API which only supports a POST method . Can I format the URL so it calls the REST API using POST? Ref: https://github.com/OpenRefine/OpenRefine/wiki/Fetching-URLs-From-Web-Services

Menado answered 28/6, 2013 at 0:59 Comment(1)
is the answer still "No" these days?Privacy
S
4

Not currently, but it'd be a good enhancement request. Click "issues" at the OpenRefine site URL that you posted.

Bonus points for patches/pull requests which implement the feature. :-)

Schwaben answered 28/6, 2013 at 3:1 Comment(0)
Y
0

It is actually possible by:

  1. creating a curl command using grel and
  2. then making the POST query in Jython.

Here is a list of tutorials for the step by step process:

Younger answered 9/3, 2022 at 22:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.