[Skip to main content](#vessel-content)

#   how to build URL to csv file on third-party server (cron/mass-import)

##

- **[info@oudmanschoenen.nl](/forum/user/41982-info-oudmanschoenen-nl "View info@oudmanschoenen.nl's Profile")**
- [![info@oudmanschoenen.nl's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/41982-info-oudmanschoenen-nl "View info@oudmanschoenen.nl's Profile") Topic Author
- [ Offline](/forum/user/41982-info-oudmanschoenen-nl)

Less More

- Posts: 3
- Thank you received: 0
-
-
-
- [](http://oudmanschoenen.nl/index.php/webwinkel)
-

10 years 2 weeks ago [\#252132](#252132) by [info@oudmanschoenen.nl](/forum/user/41982-info-oudmanschoenen-nl "View info@oudmanschoenen.nl's Profile")  *[how to build URL to csv file on third-party server (cron/mass-import)](/forum/37-import-export-csv-xls/886858-how-to-build-url-to-csv-file-on-third-party-server-cron-mass-import#252132 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.21 -- Browser(s) name and version -- : 49.0.1 -- Error-message(debug-mod must be tuned on) -- : JPath: check snooping out of bounds (no login information was included in the URL)  Our business has just changed to a new stock and cash software system (easypos) build on a mysql database. They also provided a dataconnector API to which we can login using a URL, username, password and an API-token for communication. This should enable us to download csv files from their server for upload to our webserver (joomla hosting). We also received documentation containing a URL like:   services.easyposonline.nl/i-shop/ /&#42;.csv Their manual says that we have to use POST parameters in the url (login&#95;user: login&#95;pass login&#95;app: login&#95;type:) Could you give an example of an imaginary, syntactically correct URL with POST-parameters? Can I use this directly in the cron-udate-plugin or mass-action modules or plugins? I would like to know if this is an easy job or do we need a specialist for this? (I have some experience writing php-code, but little experience in writing complicated URL's ). Maybe we have to write (or let our software provider write) a modified php-plugin page ? I hope you can point us in the right direction. (we also asked for more information from the service provider, still waiting for an answer) Thanks in advance.")* was created by *[info@oudmanschoenen.nl](/forum/user/41982-info-oudmanschoenen-nl "View info@oudmanschoenen.nl's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6.21
-- Browser(s) name and version -- : 49.0.1
-- Error-message(debug-mod must be tuned on) -- : JPath: check snooping out of bounds (no login information was included in the URL)

Our business has just changed to a new stock and cash software system (easypos) build on a mysql database. They also provided a dataconnector API to which we can login using a URL, username, password and an API-token for communication. This should enable us to download csv files from their server for upload to our webserver (joomla hosting).
We also received documentation containing a URL like:
[ services.easyposonline.nl/i-shop/](https://services.easyposonline.nl/i-shop/)/\*.csv
Their manual says that we have to use POST parameters in the url (login\_user:&lt;username&gt; login\_pass&lt;password&gt; login\_app:&lt;i-shop&gt; login\_type:&lt;plain&gt;)
Could you give an example of an imaginary, syntactically correct URL with POST-parameters? Can I use this directly in the cron-udate-plugin or mass-action modules or plugins? I would like to know if this is an easy job or do we need a specialist for this? (I have some experience writing php-code, but little experience in writing complicated URL's ). Maybe we have to write (or let our software provider write) a modified php-plugin page ?
I hope you can point us in the right direction.
(we also asked for more information from the service provider, still waiting for an answer)
Thanks in advance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODY4NTgtaG93LXRvLWJ1aWxkLXVybC10by1jc3YtZmlsZS1vbi10aGlyZC1wYXJ0eS1zZXJ2ZXItY3Jvbi1tYXNzLWltcG9ydD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

10 years 2 weeks ago [\#252139](#252139) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to build URL to csv file on third-party server (cron/mass-import)](/forum/37-import-export-csv-xls/886858-how-to-build-url-to-csv-file-on-third-party-server-cron-mass-import#252139 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.21 -- Browser(s) name and version -- : 49.0.1 -- Error-message(debug-mod must be tuned on) -- : JPath: check snooping out of bounds (no login information was included in the URL)  Our business has just changed to a new stock and cash software system (easypos) build on a mysql database. They also provided a dataconnector API to which we can login using a URL, username, password and an API-token for communication. This should enable us to download csv files from their server for upload to our webserver (joomla hosting). We also received documentation containing a URL like:   services.easyposonline.nl/i-shop/ /&#42;.csv Their manual says that we have to use POST parameters in the url (login&#95;user: login&#95;pass login&#95;app: login&#95;type:) Could you give an example of an imaginary, syntactically correct URL with POST-parameters? Can I use this directly in the cron-udate-plugin or mass-action modules or plugins? I would like to know if this is an easy job or do we need a specialist for this? (I have some experience writing php-code, but little experience in writing complicated URL's ). Maybe we have to write (or let our software provider write) a modified php-plugin page ? I hope you can point us in the right direction. (we also asked for more information from the service provider, still waiting for an answer) Thanks in advance.")*

Hi,

You can't have POST parameters in a URL. In HTTP you can pass parameters either through the URL (and they are called GET parameters) or through the request body (and they are called POST parameters and don't appear in the URL).
So having POST parameters in a URL goes against the definition of HTTP itself.

I would recommend to use the cron update plugin, however it only supports GET parameters in the URL of the CSV.
So it would require some modifications by a PHP developer if you want to be able to retrieve the CSV file with POST parameters.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODY4NTgtaG93LXRvLWJ1aWxkLXVybC10by1jc3YtZmlsZS1vbi10aGlyZC1wYXJ0eS1zZXJ2ZXItY3Jvbi1tYXNzLWltcG9ydD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.110 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
