Hi Colin,
I have not tried this but I think all parameters need to be sent as multipart
form fields for this call. So in curl you would use
--form key1=value1 --form key2=value2
for all the arguments, instead of putting them into the URL.
Richard
> On 6 Feb 2019, at 09:27, Colin Meerveld <[email protected]> wrote:
>
> Hi,
>
> I am creating an ansible provisioning script for Topbraid EDG (1). Most of
> the work is done but have some problems with importing an ontology. I am
> trying to use the import file service (2) in EDG 6.1 but get the message "No
> valid SWP view found". I used the following curl command:
>
> curl -vvvX POST
> "http://10.0.0.11:8080/edg/tbl/swp?_viewClass=http%3A%2F%2Ftopbraid.org%2Fteamwork%23ImportRDFFileService&projectGraph=urn%3Ax-evn-master%3Aflow4_38&record=true&format=turtle&_base=urn%3Ax-evn-master%3Aflow4_38"
> -H "Authorization: Basic YWRtaW46YWRtaW4=" --form file=@/tmp/flow4.ttl
>
> Do i need something else?
>
> Thanks,
>
> Colin
>
> 1: https://gitlab.com/btotr/topbraid-edg-ansible
> 2:
> http://wiki.topquadrant.com/display/TBS60/EDG+Methods+to+Deploy+Projects+to+Servers#EDGMethodstoDeployProjectstoServers-Appendix:WebServicesForDeployment
>
> --
> You received this message because you are subscribed to the Google Groups
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.