Newer
Older
web-services / data-computer / examples.http
@Nicolas Thouvenin Nicolas Thouvenin on 6 Oct 1 KB 2 entrypoitn is better
# File Global Variables: Variables defined in Region without name or request
@baseUrl = http://localhost:31976
#@baseUrl = https://data-computer.services.istex.fr/
###

# @name retrieve
# @save
POST {{baseUrl}}/v1/retrieve HTTP/1.1
Content-Type: application/json

[
	{
		"value":"8RjaJDej5"
	}
]
###

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

[
	{
		"value":"8RjaJDej5"
	}
]
###


# # @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

###