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

pnuts
  • 58,317
  • 11
  • 87
  • 139
Sonicthoughts
  • 548
  • 1
  • 4
  • 16

2 Answers2

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. :-)

Tom Morris
  • 10,490
  • 32
  • 53
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:

magdmartin
  • 1,712
  • 3
  • 20
  • 43