Sponsored Content
Full Discussion: Curl - post form issue
Top Forums Web Development Curl - post form issue Post 303029979 by Neo on Monday 4th of February 2019 05:11:13 AM
Old 02-04-2019
Fred13 ,

First of all, you cannot debug a web application if you do not have access to the web server files and log files.

Second, if you cannot provide me a copy of the exact file from the web server you are trying to access; and a copy of the PHP error log file, please post back on this topic when you have access to the files I requested.

Third, curl() is not going to help us or you debug the server side issue, so providing us a copy of the HTML output of your 302 redirect is not going to help.


If you do not have access to the file you are trying to send a post request to on the web server, I think you you should not be posting here trying to ask us to debug something you seem to be "hacking"..

Without access to the exact PHP file you are trying to access and access to error log messages, it is a waste of time to post these kind of questions here.

I'm closing this thread.

Please post back when you have full access to the web server and provide the files I requested.

Thanks.
This User Gave Thanks to Neo For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

maintaining form post session using curl

Hello, I have searched for a good part of the day, but cannot seem to find an answer to this. I hope this is an appropriate forum for my question. I am wanting to download a blog web page using a script. It requires username and password login. I have tried the following (an example) to no... (1 Reply)
Discussion started by: Allasso
1 Replies

2. UNIX for Advanced & Expert Users

Issue in Curl to send http POST request with attachment/multipart

Hi, I am using curl to hit a url using http in solaris 10 using commandline, I want to transfer an attachment(using multipart curl -F) also as a part of the request. If anyone has used kindly help me with the syntax. I am using below command: Code: /usr/local/bin/curl -v... (1 Reply)
Discussion started by: manishmaha
1 Replies

3. UNIX for Dummies Questions & Answers

Posting data to a form using curl

Hello all. I have an incredible number of servers that I need to change a parameter on using a web interface. I'd like to be able to do this via curl, but I'm having some trouble. I filled out the form and hit update while snooping (tcpdump) my interface. That gave the the following as what is... (0 Replies)
Discussion started by: DeCoTwc
0 Replies

4. Shell Programming and Scripting

Using cURL to submit a post form

I am trying to write a shell script to use curl in order to automate downloading data from a website. The URL with the post form is here: http://try-db.org/de/InfoBySpecies.php . I have a list of about 1800 different species I want to check. For Example, choose the first species and use the... (2 Replies)
Discussion started by: hansvg
2 Replies

5. Shell Programming and Scripting

Curl Script - Post a file (multipart/form-data)

Hi All, I am trying to post an xml file (utf-16 encoded) using curl to a REST service. The REST service is expecting 'multipart/form-data' content type. curl -k -i -H "Content-Type=multipart/form-data" -F "filename=@file.xml;type=text/xml" -X POST -u <username>:<password> <endPointURL> ... (0 Replies)
Discussion started by: Anooja G
0 Replies

6. Web Development

Data Post with curl

how to make the bash script ? http://server.com/mysql.php POST /mysql.php HTTP/1.1 Host: server.com User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language:... (1 Reply)
Discussion started by: iddfcr
1 Replies

7. Shell Programming and Scripting

Curl command to post headers

I am trying post SOAP header from file to curl command. The curl command is curl -vk -H "$(cat curl-test1.txt)" -X POST https://xvcfvusdgfsd.sdfjd.gf/cmsws/CMSService The contet of curl file is POST: https://cmsuat.chrysler.com/cmsusws/CMSService HTTP/1.1 SOAPAction:... (1 Reply)
Discussion started by: dineshaila
1 Replies

8. UNIX for Beginners Questions & Answers

How to use cURL to download web page with authentification (form)?

Hello, I'm new in the forum and really beginer, and also sorry form my bad english. I use linux and want to create little program to download automaticaly some pdf (invoices) and put in a folder of my computer. I learn how to do and programme with ubuntu but the program will be implemented... (1 Reply)
Discussion started by: MarcelOrMittal
1 Replies

9. Shell Programming and Scripting

Wget and curl to post data

i'm using this command to post data to a remote host: wget --post-data="My Data" http://<my-ip>:80 -O /dev/null -q and curl --data "My Data" http://<my-ip>:80 however, when i run the above, i see the following in my access log on the remote host: Wget: 10.10.10.10 - - "POST /... (1 Reply)
Discussion started by: SkySmart
1 Replies

10. Web Development

CURL - Post Form Isssue ( sequel )

Hi, I write a new thread to discuss about my closed topic with new information ( /280990-curl-post-form-issue.html ) The previous post was closed because of missing informations, I didn't have access yet to server logs. ----------------------------------------------------------------------... (4 Replies)
Discussion started by: Fred13
4 Replies
slrnpull(1)							   User Manuals 						       slrnpull(1)

NAME
slrnpull - Pull a small newsfeed for offline reading. SYNOPSIS
slrnpull [-d spooldir] [-h server] [--debug file] [--expire] [--fetch-score n] [--help] [--kill-log file] [--kill-score n] [--logfile file] [--marked-bodies] [--new-groups] [--no-post] [--post] [--post-only] [--rebuild] [--version] DESCRIPTION
slrnpull pulls a small newsfeed from an NNTP server. It puts the articles into a spool directory from which slrn can later read them, even if the server is unreachable at that time. Typically, this is useful if you do not have a permanent network connection. OPTIONS
The following options can be used when calling slrnpull from the command line. -d spooldir Set slrnpull's root directory for this run to spooldir, overriding the $SLRNPULL_ROOT environment variable. -h host[:port] Connect to the NNTP server on host, overriding the $NNTPSERVER environment variable. If no port is given, the default NNTP port (119) will be used. --debug file Write dialogue with the server and some additional debugging output to file. --expire Expire (remove) old messages from the spool, but do not fetch news. --fetch-score n Fetch article bodies with a score of at least n automatically (in true offline mode, the default is to fetch only bodies that were explicitly marked by the user). --help Show help for command line switches. --kill-log file Keep a log of all articles that were killed by the scorefile in file. By default, no such logfile is created. --kill-score n Kill all articles with a score below n. The default value for this is 0. --logfile file Log the messages and errors that slrnpull prints to the screen to file. By default, they get written to the file log in slrnpull's root directory. --marked-bodies Only fetch bodies that were marked for download within slrn. --new-groups Check for new groups, appending them to the file new.groups in the data directory. --no-post Do not post any articles to the server. --post Obsolete version of --post-only. --post-only Post outgoing articles, but do not fetch news. --rebuild Like --expire, but also rebuild the overview information. To be used when the overview information is damaged. --version Print the version number. ENVIRONMENT
slrnpull reads the following environment variables. Note that they can be overridden by command line switches. NNTPSERVER You can use this variable to tell slrnpull which NNTP server to connect to. It can be overridden by the command line option -h. SLRNPULL_ROOT Defines the directory where slrnpull will look for its configuration files and spool the articles. An absolute filename is needed here. This can be overriden by the option -d. FILES
$SLRNPULL_ROOT/authinfo If the server requires authentication, this file needs to contain the data (username in the first line, password in the second). Be careful not to make this file world-readable! $SLRNPULL_ROOT/log The default file to log status and error messages to. $SLRNPULL_ROOT/score If you want slrnpull to apply scoring rules to decide which articles to download, put them into this file. $SLRNPULL_ROOT/slrnpull.conf The main configuration file. It tells slrnpull how many articles to get from which groups and when to expire them. SEE ALSO
The documentation that comes with slrnpull, especially README and SETUP. The FAQ of slrn also answers some questions about slrnpull. You might also want to look at slrn's official home page, http://slrn.sourceforge.net/ or post to news.software.readers if you have a ques- tion not covered by existing documentation. The latest version of slrnpull is part of the slrn package available from http://prdownloads.sourceforge.net/slrn/ AUTHOR
John E. Davis <davis@space.mit.edu> Please send any bug reports to the current maintainer, Thomas Schultz <tststs@gmx.de> Unix September 2004 slrnpull(1)
All times are GMT -4. The time now is 04:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy