You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected: The file should be uploaded to FTP and the success message should be displayed.
Actual: Getting the following error
At line:1 char:31
+ curl -H "application/json" -d @employees.json http://localhost:8080/c ...
+ ~~~~~~~~~~
The splatting operator '@' cannot be used to reference variables in an expression. '@employees' can be used only as an argument to a command. To reference variables in an
expression use '$employees'.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : SplattingNotPermitted
PS: When the service was started in Windows and used the same curl command from a Linux machine, it worked as expected. If the curl command is different in Windows, we need to update the document.
Can you list down files from the location you execute the curl command and check whether a file named employees.json is located? You can use the dir command to list down all files?
Description:
Doc: https://ei.docs.wso2.com/en/latest/ballerina-integrator/learn/tutorials/integration-patterns-and-soa/converting-json-to-xml-and-upload-to-ftp/1/
Steps to recreate
Expected: The file should be uploaded to FTP and the success message should be displayed.
Actual: Getting the following error
PS: When the service was started in Windows and used the same curl command from a Linux machine, it worked as expected. If the curl command is different in Windows, we need to update the document.
Affected Product Version:
Ballerina Integrator 7.0.1
Ballerina version: 1.0.2
OS, DB, other environment details and versions:
Windows 10
The text was updated successfully, but these errors were encountered: