Newer
Older
web-services / data-computer / examples.http
@Nicolas Thouvenin Nicolas Thouvenin on 5 Oct 2023 1 KB added a parmater to debug quickly
# File Global Variables: Variables defined in Region without name or request
@baseUrl = http://localhost:31976
#@baseUrl = http://data-calculation.tdmservices.intra.inist.fr/
###

# @name retrieve
POST {{baseUrl}}/v1/retrieve?json=true&indent=true HTTP/1.1
Content-Type: application/json

[
	{
		"value":"x5p9p25zU"
	}
]
###

# # @name tree-segment
POST {{baseUrl}}/v1/base-line HTTP/1.1
Content-Type: application/x-tar
X-Hook: https://webhook.site/69300b22-a251-4c16-9905-f7ba218ae7e9

< ./example-json.tar.gz

###

# @name tree-segment
POST {{baseUrl}}/v1/tree-segment HTTP/1.1
Content-Type: application/x-tar
X-Hook: https://webhook.site/69300b22-a251-4c16-9905-f7ba218ae7e9

< ./example-json.tar.gz

###

# @name graph-segment
POST {{baseUrl}}/v1/graph-segment HTTP/1.1
Content-Type: application/x-tar
X-Hook: https://webhook.site/69300b22-a251-4c16-9905-f7ba218ae7e9

< ./example-json.tar.gz

###

# @name lda
POST {{baseUrl}}/v1/lda HTTP/1.1
Content-Type: application/x-tar
X-Hook: https://webhook.site/69300b22-a251-4c16-9905-f7ba218ae7e9

< ./example-json.tar.gz

###