Skip to content

kambi-ng/siak-rest

Repository files navigation

SIAK REST

A proxy server to convert your SIAK-NG response to JSON, instead of HTML.

Docs: /swagger/index.html, Global Instance

Running

You will need golang. There is no docker compose script (yet), so you can run it by running

$ go run cmd/http-server/main.go

Idea

SIAK-NG identifies its user with two cookies: siakng_cc and Mojavi. These two cookies are unique to your session. This proxy simply forwards these cookies from the X-Siakng-Cc and X-Mojavi header and forward it as a cookie to SIAK-NG server, and once the response is gathered by the proxy, the proxy simply parses the HTML and bakes the JSON response.

About

SiakNG REST API proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages